//
//  HCButton.m
//  HappyChildren
//
//  Created by WillyZhao on 2017/3/8.
//  Copyright © 2017年 WillyZhao. All rights reserved.
//

#import "HCButton.h"



@implementation HCButton

-(void)layoutIfNeeded {
    [super layoutIfNeeded];
    NSLog(@"近吗layoutIfNeeded");
}

-(void)layoutSubviews {
    [super layoutSubviews];
    self.frame = CGRectMake(self.frame.origin.x, self.frame.origin.y, 34, 14);
    
    NSLog(@"近吗layoutSubviews");
}

-(void)layoutMarginsDidChange {
    [super layoutMarginsDidChange];
    NSLog(@"近吗layoutMarginsDidChange");
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
